package com.zyg.apart.mapper;

import com.zyg.apart.model.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RoleMapper {
    int editRole(Role role);

    Role getRoleById(Integer id);

    List<Map<String, Object>> getAllRole();

    List<Map<String,Object>> getAllRoleName();
}
